<?php
/**
 * Intro:备注功能说明
 * User: Jason|2018/10/30
 **/

namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Test;

class IndexController extends Controller
{
    public function index()
    {
        $users=Test::demo();
        $ip=get_client_ip();
        print_r(ip_to_address($ip));die;
        return view('Admin/index',['users'=>$users,'IP'=>$ip]);
    }
    public function gitdemo()
    {
        print_r($_SERVER);
    }
}